import request from '/@/utils/request'

//设置首页数据
export const diySetHomePage = (params?: any) => request.post('/diy/setHomePageData', params);

//获取首页数据
export const diyGetHomePage = (params?: any) => request.get('/diy/getHomePageData', params);

//设置个人中心数据
export const diySetPersonCenter = (params?: any) => request.post('/diy/setPersonCenterData', params);

//获取个人中心数据
export const diyGetPersonCenter = (params?: any) => request.get('/diy/getPersonCenterData', params);

//设置客服页面数据
export const diySetServicePage = (params?: any) => request.post('/diy/setServicePageData', params);

//获取客服页面数据
export const diyGetServicePage = (params?: any) => request.get('/diy/getServicePageData', params);

//设置样式数据
export const diySetStyle = (params?: any) => request.post('/diy/setStyleData', params);

//获取样式数据
export const diyGetStyle = (params?: any) => request.get('/diy/getStyleData', params);

//设置底部导航数据
export const diySetTabbar = (params?: any) => request.post('/diy/setTabbarData', params);

//获取底部导航数据
export const diyGetTabbar = (params?: any) => request.get('/diy/getTabbarData', params);

//获取链接列表
export const linkList = (params?: any) => request.get('/link/list', params);

//获取文章链接
export const linkArticle = (params?: any) => request.get('/link/articleList', params);